home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 26.zip
/
BS1 part 26
/
Cando v1.6 disk 2.adf
/
HelpFiles
/
Documents
< prev
next >
Wrap
Text File
|
1992-01-31
|
8KB
|
365 lines
V- CharsToBegOfLine |charstobegofline|
V- CharsToEndOfLine |charstoendofline|
C- Clear |clear|
C- Delete |delete|
V- DocumentName |documentname|
C- InsertDocument |insertdocument|
V- LengthOfLine |lengthofline|
V- LinesInDocument |linesindocument|
C- LoadDocument |loaddocument|
C- MakeDocument |makedocument|
C- MoveCursor |movecursor|
C- MoveCursorTo |movecursorto|
C- NewLine |newline|
C- PositionOnLine |positiononline|
C- Replace |replace|
C- SaveDocument |savedocument|
C- SearchFor |searchfor|
V- SearchFound |searchfound|
C- SetWordDelimiters |setworddelimiters|
V- SizeOfDocument |sizeofdocument|
C- SortDocument |sortdocument|
C- SplitLine |splitline|
F- TextFromDocument |textfromdocument|
V- TheCharacter |thecharacter|
V- TheColumnNumber |thecolumnnumber|
V- TheLine |theline|
V- TheLineNumber |thelinenumber|
V- TheWord |theword|
V- TheWordDelimiters |theworddelimiters|
C- Type |type|
C- WorkWithDocument |workwithdocument|
[E]
|charstobegofline|
WT {String}=CharsToBegOfLine
PL The characters before the cursor on the
PL current line, but not including the
PL character that the cursor is on.
PL
PT SEE ALSO:
BS CharsToEndOfLine
PT .
ED
|charstoendofline|
WT {String}=CharsToEndOfLine
PL The characters after the cursor on the
PL current line, but not including the
PL character that the cursor is on.
PL
PT SEE ALSO:
BS CharsToBegOfLine
PT .
ED
|clear|
WT Clear <flags>
PL If the flag is DOCUMENT then this command
PL will clear out the whole document where as
PL if the flag is LINE it will clear only the
PL current line.
PL
PT SEE ALSO:
BS Delete
PT .
ED
|delete|
WT Delete <flags> [,{Count}]
PL This command will delete parts of your
PL current document. The flags include:
PL The flags include CHARACTER, CHARACTERS,
PL LINE, TOSTARTOFLINE and TOENDOFLINE.
PL For a full discussion of this command
PL see page 6-49 of your yellow manual.
ED
|documentname|
WT {DocumentBufferName}=DocumentName
PL This returns the buffer name of the
PL current document.
PL
PT SEE ALSO:
BS WorkWithDocument
PT .
ED
|insertdocument|
WT InsertDocument {SourceDocumentName} [,{StartingLine} [,{LineCount}]]
PL Inserts text from the specified document
PL into the current document at the current
PL cursor position. Optionally, a start line
PL and the number of lines to copy can be
PL specified.
PT SEE ALSO:
BS Type
PT .
ED
|lengthofline|
WT {Integer}=LengthOfLine
PL This returns the number of characters
PL in the current document line.
ED
|linesindocument|
WT {Integer}=LinesInDocument
PL This returns the number of lines
PL in the current document.
ED
|loaddocument|
WT LoadDocument {FilePath} [,{DocumentBufferName} [,<loadflags>]]
Pl Preload a document, either FTXT or ASCII.
PL See pages 6-46 and 7-7 in the yellow manual
PL and page 6-46 in the 1.50 manual supplement
PL for a full description of this command.
PL
PT SEE ALSO:
BS SaveDocument
PT .
ED
|makedocument|
WT MakeDocument {DocumentBufferName}
PL This command makes an empty document
PL buffer with the name specified.
PL
PT SEE ALSO:
BS WorkWithDocument
PT .
ED
|movecursor|
WT MoveCursor <directionflags> [,{Count}]
PL Moves the cursor, in the given direction,
PL in the document. The direction flags are
PL UP, DOWN, LEFT and RIGHT. You may also
PL specify the number of times to move.
PL
PT SEE ALSO:
BS MoveCursorTo
PT .
ED
|movecursorto|
WT MoveCursorTo <flags> [,{Count}]
PL Moves the cursor around in the document.
PL Flags include: STARTOF and ENDOF modifiers
PL and DOCUMENT, LINE, NEXTWORD, THISWORD and
PL PREVIOUSWORD which specify the scope of the
PL movement. You may also specify the number
PT times to move. SEE ALSO:
BS MoveCursor
PT .
ED
|newline|
WT NewLine
PL Has the same effect as moving to the end of
PL the current line and hitting the RETURN key.
PL
PT SEE ALSO:
BS SplitLine
PT .
ED
|positiononline|
WT PositionOnLine {LineNumber}
PL Move the cursor to the specified line.
PL
PT SEE ALSO:
BS TheLineNumber
PT .
ED
|replace|
WT Replace {SearchString}, {ReplaceString} [,<flags>]
PL This command does a find and replace in
PL the current document using the given
PL strings. See page 6-51 in the yellow manual
PL for a description of the optional flags.
PL
PT SEE ALSO:
BS SearchFor
PT and
BS SearchFound
PT .
ED
|savedocument|
WT SaveDocument {DocumentBufferName} [,{FilePath} [,<flags>]]
PL Saves the specified document to either its
PL default, original, filepath or to the given
PL filepath. Optionally you may specify the
PL way to save the document, either FTXT
PL or ASCII.
PT SEE ALSO:
BS LoadDocument
PT .
ED
|searchfor|
WT SearchFor {SearchString} [,<flags>]
PL This command searches the current document
PL for the specified string.
PL See page 6-50 in the yellow manual for a
PL description of the optional flags.
PL
PT SEE ALSO:
BS Replace
PT and
BS SearchFound
PT .
ED
|searchfound|
WT {Logical}=SearchFound
PL This variable has many uses and is set by
PL many commands and functions. The document
PT commands
BS SearchFor
PT and
BS Replace
PL will set this
PL variable to true if they succeed in finding
PL their search strings. Also the database
PT system's functions:
BS SearchArray
PT , (more...)
NP searchfound2
ED
|searchfound2|
BS NextArrayIndex
PT ,
BS PreviousArrayIndex
PL ,
BS FirstArrayIndex
PT and
BS LastArrayIndex
PL
PL will set the SearchFound variable if they
PL succeed.
PP searchfound
ED
|setworddelimiters|
WT SetWordDelimiters {WordDelimiters}
PL This defines the current document's word
PL delimiter character set. This may change
PL the results of many document commands,
PL functions and variables.
PL
PT SEE ALSO:
BS TheWordDelimiters
PT and
BS TheWord
PT .
ED
|sizeofdocument|
WT {Integer}=SizeOfDocument
PL This returns the size in characters of the
PL current document.
ED
|sortdocument|
WT SortDocument <flags> [,{StartingColumn}]
PL This command sorts the current document.
PL For a full discussion of this command
PL page 6-46 in the 1.50 manual supplement.
ED
|splitline|
WT SplitLine [{Count}]
PL Has the same effect as a RETURN key in the
PL current document. You may also specify the
PL number of times to do this.
PL
PT SEE ALSO:
BS NewLine
PT .
ED
|textfromdocument|
WT {String}=TextFromDocument(DocumentName)
PL This returns the contents of a document
PL as a single, sometimes large, text string.
PL For a full discussion of this function
PL page 6-46 in the 1.50 manual supplement.
ED
|thecharacter|
WT {String}=TheCharacter
PL This returns the character that the document
PL cursor is on. If the cursor is at the end
PT of the document then a
BS Nothing
PT is returned.
ED
|thecolumnnumber|
WT {Integer}=TheColumnNumber
PL This returns the current column number in
PL the document that the cursor is on.
ED
|theline|
WT {String}=TheLine
PL This returns the line that the document
PL cursor is on. If the cursor is on an empty
PT line then a
BS Nothing
PT is returned.
ED
|thelinenumber|
WT {Integer}=TheLineNumber
PL This returns the current line number in
PL the document that the cursor is on.
ED
|theword|
WT {String}=TheWord
PL This returns the word that the document
PL cursor is on. If the cursor is on an empty
PT line then a
BS Nothing
PL is returned.
PL Remember that what this variable returns
PT depends on how
BS TheWordDelimiters
PL is set up.
ED
|theworddelimiters|
WT {String}=TheWordDelimiters
PL This returns the current document's word
PL delimiters character set.
PL
PT SEE ALSO:
BS SetWordDelimiters
PT .
ED
|type|
WT Type {String} [,<flag>]
PL This command types the given string into
PL the current document. If the NEWLINE flag
PL is given the a RETURN is typed at the end
PL of the string.
ED
|workwithdocument|
WT WorkWithDocument {DocumentBufferName}
PL All subsequent document commands, functions
PL and variables will use the specified
PL as their current document.
PL
PT SEE ALSO:
BS MakeDocument
PT .
ED